<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<RecruitmentAgency.Models.DataTypes.JobProvider>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Connections - Delete company
</asp:Content>

<asp:Content ID="MenuLinks" ContentPlaceHolderID="PageMenu" runat="server">
    <div class="centre">
        <div class="subMenuButton" onmouseover="swapBgImage(this)" onclick="javascript:location.href='../JobProvider/ViewCompanies'" onmouseout="swapBgImage(this)">Search Companies</div>
    </div>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% using (Html.BeginForm(new { UserId = Model.JobProviderId })) { %>
        <div class="panelTop"></div>
        <div id="panelMiddle" class="padLR20">
            <div class="titleLabel">Delete comapny</div>
            Are you sure that you want to permanently delete the entry for <%= Model.FirstName %> <%= Model.LastName %> at <%= Model.CompanyName %>?<br /><br />
            <div class="formColumn">
                <input type="button" class="formButton" value="Cancel delete" onclick="location.href='/JobProvider/ViewCompanies'" />
            </div>
            <div class="formColumn">
                <input type="submit" class="formButton" value="Delete <%= Model.CompanyName %>" />
            </div>
        </div>
        <div class="panelBottom"></div>
    <% } %>
</asp:Content>